﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using BulletinModel;
using BulletinMvc.Models;
using Webdiyer.WebControls.Mvc;
namespace BulletinMvc.Lib
{
    interface IBulletinItemBL
    {
        IQueryable<BulletinItem> GetBulletinItemList(int BulletinID);
        bool DeleteBulletinItem(string ProjectSN);
        BulletinItemCreateModel GetBulletinItemDetail(string ProjectSN);
        void saveBulletinItem(BulletinItemCreateModel savebulletinItem, int BulletinID);
        void AddBulletinItem(BulletinItemCreateModel savebulletinItem, int BulletinID);
        bool ExitProjectSN(string ProjectSN);
        bool saveExcelBulletinItems(string filePath, string saveName, int BulletinID);
        PagedList<BulletinItem> GetDetailsViewList(int BulletinID, int pagesize = 10, int id = 1);
        int GetBulletinItemCount(int BulletinID);

    }
}
